package com.fastCms.manager.frame.annotation;

public enum UserAccessEnum {

    OPEN("不需要任何验证(包括token)", 0), ALLOW("允许(只会验证token)", 1), NOT_ALLOW("不允许", 2), INSPECT("检查权限", 3);

    private String name;
    private int value;

    UserAccessEnum(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public int getValue() {
        return value;
    }
}
